#include "Event.h"


char Event::getKey() {
    return this->theKey;
}

char Event::getX() {
    return this->theXPosition;
}

char Event::getY() {
    return this->theYPosition;
}

istream& operator>>(istream &anIStream, Event &anEvent) {
    anIStream >> anEvent.theYPosition >> anEvent.theXPosition >> anEvent.theKey;
    return anIStream;
}
